package org.springframework.samples.mvc.basic.business;

import org.springframework.samples.mvc.basic.model.Identifiable;
import org.springframework.samples.mvc.basic.tipGotovProizvod.ViewDTO;

public interface Transformer<T extends Identifiable, D extends ViewDTO<T>> {

	D transform(T entity);
	
	T transform(D view);
	
}
